package top.guoyang.springboot3.entity.TbContact;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
@TableName("tb_contact")
public class TbContact implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private Integer uid;
    private String username;
    private String phone;
    private String email;
    private String address;
}
